Code Generation for General Loops Using Methods from Computational Geometry

نویسندگان

  • T. Andronikos
  • F. M. Ciorba
چکیده

This paper deals with general nested loops and proposes a novel dynamic scheduling technique. General loops contain complex loop bodies (consisting of arbitrary program statements, such as assignments, conditions and repetitions) that exhibit uniform loop-carried dependencies. Therefore it is now possible to achieve efficient parallelization for a vast class of loops, mostly found in DSP, PDEs, signal and video coding. At the core of this technique lies a simple and efficient dynamic rule (SDS Successive Dynamic Scheduling) for determining the next ready-to-beexecuted iteration at runtime. The central idea is to schedule the iterations on-the-fly by using SDS, along the optimal hyperplane (determined using the QuickHull algorithm). Furthermore, a tool (CRONUS/1) that implements this theory and automatically produces the SPMD parallel code for message passing architectures is presented. As a testing case study, the FSBM motion estimation algorithm (used in video coding standards, e.g., MPEG-2, H.261) was used. The tool was also tested on a suite of randomly generated loops. The experimental results validate the presented theory and corroborate the efficiency of the generated parallel code.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Cronus: A platform for parallel code generation based on computational geometry methods

This paper describes CRONUS, a platform for parallelizing general nested loops. General nested loops contain complex loop bodies (assignments, conditionals, repetitions) and exhibit uniform loop-carried dependencies. The novelty of CRONUS is twofold: (1) it determines the optimal scheduling hyperplane using the QuickHull algorithm, which is more efficient than previously used methods, and (2) i...

متن کامل

A mesh generation procedure to simulate bimaterials

It is difficult to develop an algorithm which is able to generate the appropriate mesh around the interfaces in bimaterials. In this study, a corresponding algorithm is proposed for this class of unified structures made from different materials with arbitrary shapes. The non-uniform mesh is generated adaptively based on advancing front technique available in Abaqus software. Implementing severa...

متن کامل

Finding Coarse Grained Parallelism in Computational Geometry Algorithms

A technique, permitting automatic finding coarse grained parallelism in algorithms presented with arbitrary nested loops, is presented. The technique is based on finding affine space partition mappings. The main advantage of this technique is that it allows us to form constraints for finding mappings directly in a linear form while known techniques result in building non-linear constraints whic...

متن کامل

Iranian Permanent GPS Network Receivers Differential Code Biases Estimation Using Global Ionospheric Maps

Measurements of the dual frequency Global Positioning System (GPS) receivers can be used to calculate the electron density and the total electron content (TEC) of the ionosphere layer of the Earth atmosphere. TEC is a key parameter for investigating the ongoing spatial and temporal physical process of the ionosphere. For accurate estimation of TEC from GPS measurements, GPS satellites and GPS r...

متن کامل

Optimization of Fan Geometry for Urban Train Traction Motors using Coupled Numerical Electromagnetic and Thermal Analysis

One of the most important parameters in designing electrical motors is heat generation by the motor and the way it is dissipated. Temperature rising reduce efficiency and reliability of traction motors and leads to failure. In this paper, an urban train traction motor in a 3D computational fluid dynamics (CFD) simulation has been investigated. Maxwell software for electromagnetic simulation and...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004